package com.ywb.ex07;

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;

/**
 * @Author ywb
 */
public class Task1Client {
    Socket socket;

    public static void main(String[] args) {
        new Task1Client().startUp();
    }
    private void startUp() {
        try{
            socket = new Socket("localhost", 2020);
        } catch (UnknownHostException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
